import React  from 'react';
import SubtitlesOutlined from '@material-ui/icons/SubtitlesOutlined';
import { NavList } from 'sui';
import { TaskView } from './task';

const Task = ({ sideopen }) => <TaskView sideopen={sideopen}/>;

const NavTask = (props) => <NavList icon={<SubtitlesOutlined/>} {...props} cut={10}/>;

export {NavTask, Task};
